projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e10f933
)
Use gfm-mode for formatted strings ()
author
Rami Chowdhury
<460769+necaris@users.noreply.github.com>
Sat, 16 Jun 2018 22:59:57 +0000
(18:59 -0400)
committer
João Távora
<joaotavora@gmail.com>
Sat, 16 Jun 2018 22:59:57 +0000
(23:59 +0100)
* eglot.el (eglot--format-markup): Use gfm-mode instead of
markdown-mode.
Copyright-paperwork-exempt: yes
GitHub-reference: https://github.com/joaotavora/eglot/issues/20
lisp/progmodes/eglot.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/eglot.el
b/lisp/progmodes/eglot.el
index ac17fb895f819c056a00435c9826c8b1eb3ae805..1aa3661d4d2b2d12914b3863031871566613d2aa 100644
(file)
--- a/
lisp/progmodes/eglot.el
+++ b/
lisp/progmodes/eglot.el
@@
-847,7
+847,7
@@
If optional MARKER, return a marker instead"
"Format MARKUP according to LSP's spec."
(pcase-let ((`(,string ,mode)
(if (stringp markup) (list (string-trim markup)
- (intern "
markdown
-mode"))
+ (intern "
gfm
-mode"))
(list (plist-get markup :value)
(intern (concat (plist-get markup :language) "-mode" ))))))
(with-temp-buffer